package com.qupai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qupai.dto.EmployeeDTO;
import com.qupai.dto.EmployeeLoginDTO;
import com.qupai.dto.EmployeePageQueryDTO;
import com.qupai.entity.Employee;
import com.qupai.entity.PageQuery;
import com.qupai.result.PageResult;

public interface EmployeeService extends IService<Employee> {

    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void save(EmployeeDTO employeeDTO);

    PageResult pageQuery(EmployeePageQueryDTO employeePageQueryDTO);

    void startOrStop(Integer status, Long id);

    Employee getById(Long id);

    void update(EmployeeDTO employeeDTO);

}
